//
//  LoginViewController.h
//  AmazingShopping
//
//  Created by Tan on 4/18/13.
//  Copyright (c) 2013 Tan Hoang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "ASIHTTPRequest.h"

@interface LoginViewController : UIViewController<UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, ASIHTTPRequestDelegate>{
    
    IBOutlet UITableView *tableView;
    IBOutlet UITextField *emailTextField;
    IBOutlet UITextField *passwordTextField;
    IBOutlet UIButton *signInButton;
    NSString *serverPath;
    NSMutableDictionary *userData;
}

- (IBAction)signInButtonClicked:(id)sender;
- (void)legalLabelClicked:(UITapGestureRecognizer *)sender;
- (void)forgotPasswordLabelClicked:(UITapGestureRecognizer *)sender;
- (BOOL)isTextFilled;
- (void)readUserData;
- (void)hideKeyboard;

@end
